.TH strcasecmp 3 "" "" ""
.SH SYNOPSIS
strcasecmp \- case insensitive character string compare
.SH ANSI_SYNOPSIS
#include <string.h>
.br
int strcasecmp(const char *
.IR a ,
const char *
.IR b );
.br
.SH TRAD_SYNOPSIS
#include <string.h>
.br
int strcasecmp(
.IR a ,
.IR b )
.br
char *
.IR a ;
.br
char *
.IR b ;
.br
.SH DESCRIPTION
.BR strcasecmp 
compares the string at 
.IR a 
to
the string at 
.IR b 
in a case-insensitive manner.
.SH RETURNS 
If 
.BR *<[a >>
sorts lexicographically after 
.BR *<[b >>
(after
both are converted to upper case), 
.BR strcasecmp 
returns a
number greater than zero. If the two strings match,
.BR strcasecmp 
returns zero. If 
.BR *<[a >>
sorts
lexicographically before 
.BR *<[b >>,
.BR strcasecmp 
returns a
number less than zero.
.SH PORTABILITY
.BR strcasecmp 
is in the Berkeley Software Distribution.

.BR strcasecmp 
requires no supporting OS subroutines. It uses
tolower() from elsewhere in this library.
.SH QUICKREF
strcasecmp 
.SH SOURCE
src/newlib/libc/string/strcasecmp.c
